home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / mplay_rorschasch.gls < prev    next >
Text File  |  2000-08-22  |  12KB  |  586 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "frend.gsh"
  14. #include "hark.gsh"
  15. #include "gunlok.gsh"
  16. #include "elint.gsh"
  17.  
  18. // bad guys
  19.  
  20.  
  21. // neutral things
  22.  
  23. #include "president.gsh"
  24.  
  25.  
  26. /*********/
  27. /* NOTES */
  28. /*********/
  29.  
  30. /**********/
  31. /* SHAPES */
  32. /**********/
  33. // world objects
  34.  
  35. shape Shp_exit
  36. {
  37.     file "objects\capture point.rif"
  38.     name "capture point"
  39. }
  40.  
  41.  
  42. shape Shp_car_A
  43. {
  44.     file "objects\car.rif"
  45.     name "car"
  46. }
  47.  
  48. shape Shp_estate_car
  49. {
  50.     file "objects\estate car.rif"
  51.     name "estate car A"
  52. }
  53.  
  54. shape Shp_digger
  55. {
  56.     file "objects\new digger.rif"
  57.     name "new digger"
  58. }
  59.  
  60. shape Shp_dozer
  61. {
  62.     file "objects\dozer.rif"
  63.     name "dozer"
  64. }
  65.  
  66. shape Shp_van_A
  67. {
  68.     file "objects\van.rif"
  69.     name "van"
  70. }
  71.  
  72. shape Shp_JUNKPILE_E
  73. {
  74.     file "objects\JUNKPILE E.rif"
  75.     name "JUNKPILE E"
  76. }
  77. shape Shp_JUNKPILE_F
  78. {
  79.     file "objects\JUNKPILE F.rif"
  80.     name "JUNKPILE F"
  81. }
  82. shape Shp_JUNKPILE_G
  83. {
  84.     file "objects\JUNKPILE G.rif"
  85.     name "JUNKPILE G"
  86. }
  87.  
  88. shape Shp_JUNKPILE_K
  89. {
  90.     file "objects\JUNKPILE K.rif"
  91.     name "JUNKPILE K"
  92. }
  93. shape Shp_JUNKPILE_L
  94. {
  95.     file "objects\JUNKPILE L.rif"
  96.     name "JUNKPILE L"
  97. }
  98. shape Shp_JUNKPILE_M
  99. {
  100.     file "objects\JUNKPILE M.rif"
  101.     name "JUNKPILE M"
  102. }
  103. shape Shp_JUNKPILE_N
  104. {
  105.     file "objects\JUNKPILE N.rif"
  106.     name "JUNKPILE N"
  107. }
  108.  
  109.  
  110. shape Shp_GARBAGE_B
  111. {
  112.     file "objects\GARBAGE B.rif"
  113.     name "GARBAGE B"
  114. }
  115. shape Shp_GARBAGE_D
  116. {
  117.     file "objects\GARBAGE D.rif"
  118.     name "GARBAGE D"
  119. }
  120. shape Shp_GARBAGE_E
  121. {
  122.     file "objects\GARBAGE E.rif"
  123.     name "GARBAGE E"
  124. }
  125.  
  126. shape Shp_GARBAGE_F
  127. {
  128.     file "objects\GARBAGE F.rif"
  129.     name "GARBAGE F"
  130. }
  131. shape Shp_GARBAGE_G
  132. {
  133.     file "objects\GARBAGE G.rif"
  134.     name "GARBAGE G"
  135. }
  136. shape Shp_GARBAGE_H
  137. {
  138.     file "objects\GARBAGE H.rif"
  139.     name "GARBAGE H"
  140. }
  141.  
  142. shape Shp_GARBAGE_I
  143. {
  144.     file "objects\GARBAGE I.rif"
  145.     name "GARBAGE I"
  146. }
  147.  
  148. /**********/
  149. /* ROLES  */
  150. /**********/
  151.  
  152. // world objects
  153.  
  154. role Rol_exit : Rol_PlacedObject
  155. {
  156.     shape Shp_exit
  157.     identifier "capturepoint"
  158. }
  159.  
  160. role Rol_estate_car : Rol_PlacedObject
  161. {
  162.     shape Shp_estate_car
  163. }
  164.  
  165. role Rol_car_A : Rol_PlacedObject
  166. {
  167.     shape Shp_car_A
  168. }
  169.  
  170. role Rol_digger : Rol_PlacedObject
  171. {
  172.     shape Shp_digger
  173. }
  174.  
  175. role Rol_dozer : Rol_PlacedObject
  176. {
  177.     shape Shp_dozer
  178. }
  179.  
  180. role Rol_van_A : Rol_PlacedObject
  181. {
  182.     shape Shp_van_A
  183. }
  184.  
  185.  
  186. role Rol_Junkpile_E : Rol_DefaultGarbage
  187. {
  188.     shape Shp_JUNKPILE_E
  189. }
  190. role Rol_Junkpile_F : Rol_DefaultGarbage
  191. {
  192.     shape Shp_JUNKPILE_F
  193. }
  194. role Rol_Junkpile_G : Rol_DefaultGarbage
  195. {
  196.     shape Shp_JUNKPILE_G
  197. }
  198.  
  199. role Rol_Junkpile_K : Rol_DefaultGarbage
  200. {
  201.     shape Shp_JUNKPILE_K
  202. }
  203. role Rol_Junkpile_L : Rol_DefaultGarbage
  204. {
  205.     shape Shp_JUNKPILE_L
  206. }
  207. role Rol_Junkpile_M : Rol_DefaultGarbage
  208. {
  209.     shape Shp_JUNKPILE_M
  210. }
  211. role Rol_Junkpile_N : Rol_DefaultGarbage
  212. {
  213.     shape Shp_JUNKPILE_N
  214. }
  215.  
  216.  
  217. role Rol_Garbage_B : Rol_DefaultGarbage
  218. {
  219.     shape Shp_GARBAGE_B
  220. }
  221. role Rol_Garbage_D : Rol_DefaultGarbage
  222. {
  223.     shape Shp_GARBAGE_D
  224. }
  225. role Rol_Garbage_E : Rol_DefaultGarbage
  226. {
  227.     shape Shp_GARBAGE_E
  228. }
  229.  
  230. role Rol_Garbage_F : Rol_DefaultGarbage
  231. {
  232.     shape Shp_GARBAGE_F
  233. }
  234. role Rol_Garbage_G : Rol_DefaultGarbage
  235. {
  236.     shape Shp_GARBAGE_G
  237. }
  238. role Rol_Garbage_H : Rol_DefaultGarbage
  239. {
  240.     shape Shp_GARBAGE_H
  241. }
  242. role Rol_Garbage_I : Rol_DefaultGarbage
  243. {
  244.     shape Shp_GARBAGE_I
  245. }
  246.  
  247.  
  248. /***********/
  249. /* THE MAP */
  250. /***********/
  251.  
  252. map /* _THE_ map - doesnt need a label */
  253. {
  254.     file "levels\mplay_rorschasch.rif"
  255.     name "Land"
  256.     bitmap none // obsolete
  257.     camera plane none
  258.     max camera distance 100 // TBD exactly
  259.     shadow object rif "levels\mplay_rorschasch_shadow.rif"
  260.     shadow object name "Land"
  261.  
  262.     // PLAYERS TROOPS
  263.  
  264.     use Rol_GunLok in team 1 for
  265.         "Goodie AA" as "gunlok"
  266.  
  267.     use Rol_Hark in team 1 for
  268.         "Goodie AB" as "hark"
  269.  
  270.     use Rol_Frend in team 1 for
  271.         "Goodie AC" as "frend"
  272.  
  273.     use Rol_Elint in team 1 for
  274.         "Goodie AD" as "elint"
  275.  
  276.  
  277.     use Rol_GunLok in team 3 for
  278.         "Goodie BA" as "gunlok"
  279.  
  280.     use Rol_Hark in team 3 for
  281.         "Goodie BB" as "hark"
  282.  
  283.     use Rol_Frend in team 3 for
  284.         "Goodie BC" as "frend"
  285.  
  286.     use Rol_Elint in team 3 for
  287.         "Goodie BD" as "elint"
  288.  
  289.  
  290.     use Rol_GunLok in team 4 for
  291.         "Goodie CA" as "gunlok"
  292.  
  293.     use Rol_Hark in team 4 for
  294.         "Goodie CB" as "hark"
  295.  
  296.     use Rol_Frend in team 4 for
  297.         "Goodie CC" as "frend"
  298.  
  299.     use Rol_Elint in team 4 for
  300.         "Goodie CD" as "elint"
  301.  
  302.  
  303.     use Rol_GunLok in team 5 for
  304.         "Goodie DA" as "gunlok"
  305.  
  306.     use Rol_Hark in team 5 for
  307.         "Goodie DB" as "hark"
  308.  
  309.     use Rol_Frend in team 5 for
  310.         "Goodie DC" as "frend"
  311.  
  312.     use Rol_Elint in team 5 for
  313.         "Goodie DD" as "elint"
  314.  
  315.  
  316.     // AI'S TROOPS
  317.  
  318.     // NEUTRAL OBJECTS
  319.  
  320.     use Rol_car_A in team 0 for
  321.         "car A" and
  322.         "car B" and
  323.         "car C" and
  324.         "car D" and
  325.         "car E" 
  326.  
  327.     use Rol_estate_car in team 0 for
  328.         "estate car A" and
  329.         "estate car B"
  330.  
  331.  
  332.     use Rol_digger in team 0 for
  333.         "digger" 
  334.  
  335.     use Rol_dozer in team 0 for
  336.         "dozer" 
  337.  
  338.     use Rol_van_A in team 0 for
  339.         "van A" 
  340.         "van B" 
  341.         "van C" 
  342.         "van D" 
  343.         "van E"
  344.  
  345.  
  346.     use Rol_Junkpile_E in team 0 for
  347.         "JUNKPILE EA" as "JUNKPILE_EA"
  348.     use Rol_Junkpile_E in team 0 for
  349.         "JUNKPILE EB" as "JUNKPILE_EB"
  350.     use Rol_Junkpile_E in team 0 for
  351.         "JUNKPILE EC" as "JUNKPILE_EC"
  352.     use Rol_Junkpile_E in team 0 for
  353.         "JUNKPILE ED" as "JUNKPILE_ED"
  354.     use Rol_Junkpile_E in team 0 for
  355.         "JUNKPILE EE" as "JUNKPILE_EE"
  356.     use Rol_Junkpile_E in team 0 for
  357.         "JUNKPILE EF" as "JUNKPILE_EF"
  358.     use Rol_Junkpile_E in team 0 for
  359.         "JUNKPILE EG" as "JUNKPILE_EG"
  360.     use Rol_Junkpile_E in team 0 for
  361.         "JUNKPILE EH" as "JUNKPILE_EH"
  362.  
  363.     use Rol_Junkpile_F in team 0 for
  364.         "JUNKPILE FA" as "JUNKPILE_FA"
  365.     use Rol_Junkpile_F in team 0 for
  366.         "JUNKPILE FB" as "JUNKPILE_FB"
  367.     use Rol_Junkpile_F in team 0 for
  368.         "JUNKPILE FC" as "JUNKPILE_FC"
  369.     use Rol_Junkpile_F in team 0 for
  370.         "JUNKPILE FD" as "JUNKPILE_FD"
  371.     use Rol_Junkpile_F in team 0 for
  372.         "JUNKPILE FE" as "JUNKPILE_FE"
  373.     use Rol_Junkpile_F in team 0 for
  374.         "JUNKPILE FF" as "JUNKPILE_FF"
  375.     use Rol_Junkpile_F in team 0 for
  376.         "JUNKPILE FG" as "JUNKPILE_FG"
  377.     use Rol_Junkpile_F in team 0 for
  378.         "JUNKPILE FH" as "JUNKPILE_FH"
  379.  
  380.     use Rol_Junkpile_G in team 0 for
  381.         "JUNKPILE GA" as "JUNKPILE_GA"
  382.     use Rol_Junkpile_G in team 0 for
  383.         "JUNKPILE GB" as "JUNKPILE_GB"
  384.     use Rol_Junkpile_G in team 0 for
  385.         "JUNKPILE GC" as "JUNKPILE_GC"
  386.     use Rol_Junkpile_G in team 0 for
  387.         "JUNKPILE GD" as "JUNKPILE_GD"
  388.     use Rol_Junkpile_G in team 0 for
  389.         "JUNKPILE GE" as "JUNKPILE_GE"
  390.     use Rol_Junkpile_G in team 0 for
  391.         "JUNKPILE GF" as "JUNKPILE_GF"
  392.     use Rol_Junkpile_G in team 0 for
  393.         "JUNKPILE GG" as "JUNKPILE_GG"
  394.     use Rol_Junkpile_G in team 0 for
  395.         "JUNKPILE GH" as "JUNKPILE_GH"
  396.  
  397.     use Rol_Junkpile_K in team 0 for
  398.         "JUNKPILE K" as "JUNKPILE_K"
  399.  
  400.     use Rol_Junkpile_K in team 0 for
  401.         "JUNKPILE KB" as "JUNKPILE_KB"
  402.  
  403.     use Rol_Junkpile_K in team 0 for
  404.         "JUNKPILE KC" as "JUNKPILE_KC"
  405.  
  406.     use Rol_Junkpile_K in team 0 for
  407.         "JUNKPILE KD" as "JUNKPILE_KD"
  408.  
  409.     use Rol_Junkpile_K in team 0 for
  410.         "JUNKPILE KE" as "JUNKPILE_KE"
  411.  
  412.     use Rol_Junkpile_K in team 0 for
  413.         "JUNKPILE KF" as "JUNKPILE_KF"
  414.  
  415.     use Rol_Junkpile_K in team 0 for
  416.         "JUNKPILE KG" as "JUNKPILE_KG"
  417.  
  418.     use Rol_Junkpile_L in team 0 for
  419.         "JUNKPILE L" as "JUNKPILE_L"
  420.  
  421.     use Rol_Junkpile_L in team 0 for
  422.         "JUNKPILE LB" as "JUNKPILE_LB"
  423.  
  424.     use Rol_Junkpile_L in team 0 for
  425.         "JUNKPILE LC" as "JUNKPILE_LC"
  426.  
  427.     use Rol_Junkpile_L in team 0 for
  428.         "JUNKPILE LD" as "JUNKPILE_LD"
  429.  
  430.     use Rol_Junkpile_L in team 0 for
  431.         "JUNKPILE LE" as "JUNKPILE_LE"
  432.  
  433.     use Rol_Junkpile_L in team 0 for
  434.         "JUNKPILE LF" as "JUNKPILE_LF"
  435.  
  436.     use Rol_Junkpile_L in team 0 for
  437.         "JUNKPILE LG" as "JUNKPILE_LG"
  438.  
  439.     use Rol_Junkpile_M in team 0 for
  440.         "JUNKPILE M" as "JUNKPILE_M"
  441.  
  442.     use Rol_Junkpile_M in team 0 for
  443.         "JUNKPILE MB" as "JUNKPILE_MB"
  444.  
  445.     use Rol_Junkpile_M in team 0 for
  446.         "JUNKPILE MC" as "JUNKPILE_MC"
  447.  
  448.     use Rol_Junkpile_M in team 0 for
  449.         "JUNKPILE MD" as "JUNKPILE_MD"
  450.  
  451.     use Rol_Junkpile_M in team 0 for
  452.         "JUNKPILE ME" as "JUNKPILE_ME"
  453.  
  454.     use Rol_Junkpile_M in team 0 for
  455.         "JUNKPILE MF" as "JUNKPILE_MF"
  456.  
  457.     use Rol_Junkpile_M in team 0 for
  458.         "JUNKPILE MG" as "JUNKPILE_MG"
  459.  
  460.     use Rol_Junkpile_N in team 0 for
  461.         "JUNKPILE N" as "JUNKPILE_N"
  462.  
  463.     use Rol_Junkpile_N in team 0 for
  464.         "JUNKPILE NB" as "JUNKPILE_NB"
  465.  
  466.     use Rol_Junkpile_N in team 0 for
  467.         "JUNKPILE NC" as "JUNKPILE_NC"
  468.  
  469.     use Rol_Junkpile_N in team 0 for
  470.         "JUNKPILE ND" as "JUNKPILE_ND"
  471.  
  472.     use Rol_Junkpile_N in team 0 for
  473.         "JUNKPILE NE" as "JUNKPILE_NE"
  474.  
  475.     use Rol_Junkpile_N in team 0 for
  476.         "JUNKPILE NF" as "JUNKPILE_NF"
  477.  
  478.     use Rol_Junkpile_N in team 0 for
  479.         "JUNKPILE NG" as "JUNKPILE_NG"
  480.  
  481.     use Rol_Garbage_B in team 0 for
  482.         "GARBAGE BA" as "GARBAGE_BA"
  483.     use Rol_Garbage_B in team 0 for
  484.         "GARBAGE BB" as "GARBAGE_BB"
  485.     use Rol_Garbage_B in team 0 for
  486.         "GARBAGE BC" as "GARBAGE_BC"
  487.     use Rol_Garbage_B in team 0 for
  488.         "GARBAGE BD" as "GARBAGE_BD"
  489.  
  490.     use Rol_Garbage_D in team 0 for
  491.         "GARBAGE DA" as "GARBAGE_DA"
  492.     use Rol_Garbage_D in team 0 for
  493.         "GARBAGE DB" as "GARBAGE_DB"
  494.     use Rol_Garbage_D in team 0 for
  495.         "GARBAGE DC" as "GARBAGE_DC"
  496.     use Rol_Garbage_D in team 0 for
  497.         "GARBAGE DD" as "GARBAGE_DD"
  498.  
  499.     use Rol_Garbage_E in team 0 for
  500.         "GARBAGE EA" as "GARBAGE_EA"
  501.     use Rol_Garbage_E in team 0 for
  502.         "GARBAGE EB" as "GARBAGE_EB"
  503.     use Rol_Garbage_E in team 0 for
  504.         "GARBAGE EC" as "GARBAGE_EC"
  505.     use Rol_Garbage_E in team 0 for
  506.         "GARBAGE ED" as "GARBAGE_ED"
  507.  
  508.  
  509.     use Rol_Garbage_F in team 0 for
  510.         "GARBAGE F" as "GARBAGE_F"
  511.     use Rol_Garbage_F in team 0 for
  512.         "GARBAGE FB" as "GARBAGE_FB"
  513.     use Rol_Garbage_F in team 0 for
  514.         "GARBAGE FC" as "GARBAGE_FC"
  515.     use Rol_Garbage_F in team 0 for
  516.         "GARBAGE FD" as "GARBAGE_FD"
  517.     use Rol_Garbage_F in team 0 for
  518.         "GARBAGE FE" as "GARBAGE_FE"
  519.     use Rol_Garbage_F in team 0 for
  520.         "GARBAGE FF" as "GARBAGE_FF"
  521.     use Rol_Garbage_F in team 0 for
  522.         "GARBAGE FG" as "GARBAGE_FG"
  523.  
  524.     use Rol_Garbage_G in team 0 for
  525.         "GARBAGE G" as "GARBAGE_G"
  526.  
  527.     use Rol_Garbage_G in team 0 for
  528.         "GARBAGE GB" as "GARBAGE_GB"
  529.  
  530.     use Rol_Garbage_G in team 0 for
  531.         "GARBAGE GC" as "GARBAGE_GC"
  532.  
  533.     use Rol_Garbage_G in team 0 for
  534.         "GARBAGE GD" as "GARBAGE_GD"
  535.  
  536.     use Rol_Garbage_G in team 0 for
  537.         "GARBAGE GE" as "GARBAGE_GE"
  538.  
  539.     use Rol_Garbage_G in team 0 for
  540.         "GARBAGE GF" as "GARBAGE_GF"
  541.  
  542.     use Rol_Garbage_G in team 0 for
  543.         "GARBAGE GG" as "GARBAGE_GG"
  544.  
  545.     use Rol_Garbage_H in team 0 for
  546.         "GARBAGE H" as "GARBAGE_H"
  547.  
  548.     use Rol_Garbage_H in team 0 for
  549.         "GARBAGE HB" as "GARBAGE_HB"
  550.  
  551.     use Rol_Garbage_H in team 0 for
  552.         "GARBAGE HC" as "GARBAGE_HC"
  553.  
  554.     use Rol_Garbage_H in team 0 for
  555.         "GARBAGE HD" as "GARBAGE_HD"
  556.  
  557.     use Rol_Garbage_H in team 0 for
  558.         "GARBAGE HE" as "GARBAGE_HE"
  559.  
  560.     use Rol_Garbage_H in team 0 for
  561.         "GARBAGE HF" as "GARBAGE_HF"
  562.  
  563.     use Rol_Garbage_H in team 0 for
  564.         "GARBAGE HG" as "GARBAGE_HG"
  565.  
  566.     use Rol_Garbage_I in team 0 for
  567.         "GARBAGE I" as "GARBAGE_I"
  568.  
  569.     use Rol_Garbage_I in team 0 for
  570.         "GARBAGE IB" as "GARBAGE_IB"
  571.  
  572.     use Rol_Garbage_I in team 0 for
  573.         "GARBAGE IC" as "GARBAGE_IC"
  574.  
  575.     use Rol_Garbage_I in team 0 for
  576.         "GARBAGE ID" as "GARBAGE_ID"
  577.  
  578.     use Rol_Garbage_I in team 0 for
  579.         "GARBAGE IE" as "GARBAGE_IE"
  580.  
  581.     use Rol_Garbage_I in team 0 for
  582.         "GARBAGE IF" as "GARBAGE_IF"
  583.  
  584.     use Rol_Garbage_I in team 0 for
  585.         "GARBAGE IG" as "GARBAGE_IG"
  586. }